// eslint-disable-next-line no-undef
if (!/pnpm/.test(process.env.npm_execpath || "")) {
  console.error(
    `\u001b[31mERROR! This repository must using pnpm as the package manager ` + ` for scripts to work properly.\u001b[0m\n`
  );
  console.error(`\u001b[31m错误！此项目必须使用pnpm作为包管理器进行安装才能正常工作\u001b[0m\n`);
  // eslint-disable-next-line no-undef
  process.exit(1);
}
